package main
 
import (
	"fmt"
	"time"
	"github.com/gin-gonic/gin"
)
 
func main() {
	for i := 0 ; i< 100 ; i++ {
		fmt.Println("hello,",i)
		time.Sleep(time.Second * 2)
	}
}

func provide() {
	r := gin.Default()
    r.GET("/ping", func(c *gin.Context) {
        c.JSON(200, gin.H{
            "message": "pong",
        })
    })
    r.Run() // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
}